# @Time : 2025-01-02 14:11
# @Author : Fioman 
# @Phone : 13149920693
from db_tool.db_config import TableName, TableRegister
from personal_tool.enum_data_eap import OperationMode

tableName: str = TableName.eapParams.name
initData = {
    "key": "1",
    "pcDataCraft": 60,
    "pcDataStatus": 60,
    "eapSignalStatus": 5,
    "operationMode": OperationMode.Eap模式.name,
    "deleteDataAuto": "是"  # 插入前删除
}
TableRegister.register_table(tableName, initData)
if __name__ == '__main__':
    from db_tool.db_config import re_init_table

    # 重新创建表结构,或者新增表字段之后,重新初始化表内容,谨慎使用
    re_init_table(tableName, initData)
